menubutton: clear arrow_widget on remove()
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 4 Sep 2012 13:38:28 +0000 (09:38 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 4 Sep 2012 13:38:28 +0000 (09:38 -0400)
commit143a600466643e2c6fe3a00fb3849893de1e3641
treef9b651397225adba7b4b68d4b25a34c200e4e8a7
parentf2ab3af20afe2f1524099091288c099bf1dd3c2b
menubutton: clear arrow_widget on remove()

So that we clear its pointer also in case somebody else calls
gtk_container_remove() on the button.
Fixes criticals at startup in e.g. Nautilus.
gtk/gtkmenubutton.c